﻿using System;
using System.Text;
using System.Data;
using System.Data.OleDb;
using System.Collections.Generic;
using System.Reflection;

namespace BLL
{
    public class MediaForecaststatistics
    {
        private static Data.MediaForecaststatistics Data_Newscont = new Data.MediaForecaststatistics();

        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static long Add(Model.MediaForecaststatistics model)
        {
            return Data_Newscont.Add(model);
        }
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static int Update(Model.MediaForecaststatistics model)
        {
            return Data_Newscont.Update(model);
        }

        public static Model.MediaForecaststatistics GetModelBysql(string sql)
        {
            return Data_Newscont.GetModelBysql(sql);
        }

        public static List<Model.MediaForecaststatistics> GetList(string Sql)
        {
            return Data_Newscont.GetList(Sql);
        }

        public static DataTable GetPageListBysql(string sql)
        {
            return Data_Newscont.GetPageListBysql(sql);
        }

        public static int Insert(string sql)
        {
            return Data_Newscont.Insert(sql);
        }
    
       
    }
}
